package pswvclass.pswvandroid2.com.util;

/**
 * Created by Administrator on 2019/3/3.
 */
public class SpinnerData {
    private int value = 0;
    private String text = "";

    public SpinnerData() {
        value = 0;
        text = "";
    }

    public SpinnerData(int _value, String _text) {
        value = _value;
        text = _text;
    }

    @Override
    public String toString() {
        return text;
    }

    public int getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
